package  com.pcbly.web.business.publicinfo;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.publicinfo.MobileSetBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface MobileSetService extends BaseService<MobileSetBean> {

	MobileSetBean getMobileSetBeanById(String id) throws Exception;
	
	void removeMobileSetBeanById(String id) throws Exception;
	
	void removeMobileSetBeanByIds(String ids) throws Exception;
	
	MobileSetBean saveMobileSetBean(MobileSetBean publicinfo) throws Exception;
	
	MobileSetBean updateMobileSetBean(MobileSetBean publicinfo) throws Exception;
	
	Page<MobileSetBean>  findMobileSetBeanByCond(MobileSetBean bean,
			Page<MobileSetBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveMobileSetBeanExt(String sql) throws Exception;

	String findMobileSetBeanExtCreate(String tableName) throws Exception;

	String findMobileSetBeanExtEdit(String tableName, String id)
			throws Exception;

	String findMobileSetBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasMobileSetBeanExtData(String tableName, String id)
			throws Exception;
}